package com.cn.bdqn.duotai.zuoye04;
public class Customer {
    String id;
    String name;
    public Customer(String id,String name){
    	this.id=id;
        this.name = name;
    }
    public String getId(){
    	return id;
    }
    public String getName(){
    	return name;
    }
    public int calcTotalRent(MotoVehicle motos[],int days){
    	int sum=0;
    	for (int i = 0; i < motos.length; i++) {
			sum+=motos[i].calRent(days);
		}
    	return sum;
    }
}
